<div class="formbox">
<span class="col">&#160;<?php if(isset($t['paging']['beginning'])) echo "<a href=\"".$t['paging']['beginning']."\">&lt;&lt;</a>"; ?></span>
<span class="col">&#160;<?php if(isset($t['paging']['back']) && $t['paging']['back']) echo "<a href=\"".$t['paging']['back']."\">&lt;</a>"; ?></span>
<span class="col">&#160;<?php if(isset($t['paging']['forward'])) echo "<a href=\"".$t['paging']['forward']."\">&gt;</a>"; ?></span>
<span class="col">&#160;<?php if(isset($t['paging']['end']) && $t['paging']['end']) echo "<a href=\"".$t['paging']['end']."\">&gt;&gt;</a>"; ?></span>
</div>
<div style="clear:both">&#160;</div>

<?php if($t['comments']) {
foreach($t['comments'] as $comment) {  ?> 

<div class="formbox">
<div class="reihe2">

<span class="title">
# <?php echo $comment['Id']; ?> | <a href="mailto:<?php echo $comment['Email']; ?>"><img alt="m" src="img/mail.gif" class="nodec"/></a> 
<?php if (!empty($comment['Url'])) { echo "<a href=\"".((substr($comment['Url'],0,7)=="http://")?$comment['Url']:"http://".$comment['Url'])."\"><img alt='h' src='img/home.gif' class='nodec'/></a>" ;}?>
<?php if ($us->isAuthenticated()) { echo "<a href=\"".$ro->gen('adminGuestBookEntryDelete',array('gbid'=>$comment['Id']))."\" onclick=\"return confirm('Wirklich löschen?');\"><img alt=\"d\" src='img/delete.gif' class='nodec'/></a>" ;}?>
<?php if ($us->isAuthenticated()) { echo "<a href=\"".$ro->gen('adminGuestBookEntryEdit',array('gbid'=>$comment['Id']))."\"><img alt=\"e\" src='img/edit.gif' class='nodec'/></a>" ;}?>
<b><?php echo $comment['Name']; ?></b> 
schrieb am <b><?php echo date('d.m.Y', $comment['CreateTs']); ?></b> um <b><?php echo date('H:i', $comment['CreateTs']); ?></b>
</span>

<hr/>
<?php echo nl2br($comment['Message']); ?>
<br/><br/>

</div>
</div>

<br/>

<?php } } ?> 

<div class="formbox">
<span class="col">&#160;<?php if(isset($t['paging']['beginning'])) echo "<a href=\"".$t['paging']['beginning']."\">&lt;&lt;</a>"; ?></span>
<span class="col">&#160;<?php if(isset($t['paging']['back']) && $t['paging']['back']) echo "<a href=\"".$t['paging']['back']."\">&lt;</a>"; ?></span>
<span class="col">&#160;<?php if(isset($t['paging']['forward'])) echo "<a href=\"".$t['paging']['forward']."\">&gt;</a>"; ?></span>
<span class="col">&#160;<?php if(isset($t['paging']['end']) && $t['paging']['end']) echo "<a href=\"".$t['paging']['end']."\">&gt;&gt;</a>"; ?></span>
</div>
<div style="clear:both">&#160;</div>
